html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: left;
    margin: 0px;
    padding: 0px;
    font-family: Segoe UI, SegoeUI, Segoe WP, Helvetica Neue, Helvetica, Tahoma, Arial, sans-serif;
}
red{
    color: red;
    display: inline-block;
    transform: scale(1.2);
}
section {
    height: 100%;
    width: 100%;
}

menu {
    width: 300px;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    box-shadow: 3px 0px 3px #ccc;
}

menu, menu * {
    margin: 0px;
    padding: 0px;
}

menu .tit {
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    padding-left: 10px;
    font-weight: bold;
}

menu .tit i {
    font-size: 18px;
    margin-right: 5px;
}

menu .tit .searchbox {
    font-size: 22px;
    float: right;
    width: 170px;
    height: 100%;
    position: relative;
}

menu .tit .searchbox input {
    border: 1px solid #999;
    border-radius: 5px;
    height: 26px;
    width: 120px;
    top: 6px;
    position: absolute;
    z-index: 1;
    padding: 2px 30px 2px 10px;
}

menu .tit .searchbox i {
    font-size: 22px;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
    color: #999;
}

menu dl {
    height: calc(100% - 40px - 30px);
    overflow-y: auto;
}

*::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 3px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

*::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 5px rgba(133, 131, 131, 0.2);
    background: #808080;
}

*l::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(133, 131, 131, 0.2);
    border-radius: 3px;
    background: #EDEDED;
}

#menu {}

#menu .methods {
    --display: none;
    margin-left: 10px;
}

#menu .classname {
    background-color: #eee;
    line-height: 35px;
    padding-left: 15px;
    cursor: pointer;
    position: relative;
    --transform: rotate(-3deg);
    transition: background-color 0.5s;
    padding-right: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#menu .classname:hover {
    background-color: #ccc;
    transition: background-color 0.5s;
}

#menu .classname i {
    position: absolute;
    right: 10px;
    top: 12px;
    display: block;
}

#menu .classname span {
    font-size: 12px;
    color: #999;
}

.methods>dd {
    font-size: 14px;
    margin-bottom: 5px;
    padding-left: 20px;
    cursor: pointer;
    --transform: rotate(-3deg);
    transition: background-color 0.2s;
}

.methods>dt {
    font-size: 12px;
    color: #999;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 20px;
}

.methods>dd:hover {
    background-color: rgb(222, 255, 179);
    transition: background-color 0.5s;
}
dd.noapi{
    padding: 10px;
}
dd.noapi span {
    font-size: 16px;
    color: #999;
}

.methods>dd>div {
    font-size: 13px;
    color: #999;
    margin-left: 22px;
    word-wrap: break-word;
    word-break: break-all;
    padding-right: 20px;
}

context {
    width: calc(100% - 310px);
    height: 100%;
    float: right;
    position: relative;
    overflow-y: auto;
}

context>h1 {
    font-size: 16px;
    margin: 0px;
    height: 40px;
    line-height: 40px;
    padding-left: 10px;
    padding: 0px 0px 0 20px;
    background-color: #eee;
}

context>h1>span {
    display: block;
    float: right;
    margin-right: 1px;
    width: 40px;
    height: 40px;
    line-height: 50px;
    font-size: 30px;
    cursor: pointer;
    transition: 0.5s all;
}

context>h1>span>i {
    width: 40px;
    height: 40px;
    display: block;
}

context>h1>span>i::before {
    line-height: 40px;
    display: block;
}

context>h1>span.show {
    transform: rotate(0deg);
}

context>h1>span.hidden {
    transform: rotate(-90deg);
}

.homepage {
    width: 100%;
    height: calc(100% - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    top: 40px;
    left: 0px;
    background-color: #fff;
    transform-origin: 0 0;
    transition: 0.3s opacity, 0.5s transform;
    z-index: 100;
}

.homepage p {
    padding: 10px 10px 0 10px;
    margin: 0px;
    font-size: 16px;
    line-height: 25px;
    text-indent: 30px;
}

/*右侧方法详情的区域*/

.method {
    padding: 20px;
}

.method>* {
    display: block;
}

.method * {
    font-size: 16px;
    line-height: 30px;
}

.method attr i {
    font-style: normal;
    font-size: 11px;
}

.method .name {
    font-weight: bold;
    font-size: 30px !important;
    word-wrap: break-word;
    padding: 2px 10px 2px 0;
}
    .method .name > * {
        font-size: 30px !important;
    }
    .method .name para {
        font-size: 16px;
        font-weight: normal;
        margin-left: 10px;
    }

.method fullname {
    word-wrap: break-word;
    word-break: break-all;
}

.method table {
    width: calc(100% - 5px);
}

.method table th {
    font-weight: normal;
    background-color: #eee;
    font-size: 12px;
}

.method table input {
    height: 22px;
    width: 100px;
    border: 1px solid #999;
    border-radius: 2px;
}

.method remarks b {
    display: block;
    float: left;
    width: 50px;
}

.method remarks div {
    display: block;
    float: right;
    width: calc(100% - 50px);
}
.testbox{
    width: calc(100% - 20px);
}
.test-tit {
    height: 40px;
    line-height: 40px;
    background: #ccc;
    width: calc(100% - 20px);
    padding: 0px 20px 0px 20px;
    position: relative;
}

.test-tit>* {
    float: left;
}

.test-tit .test-func {
    width: 300px;
}

.test-tit .test-btn {
    width: calc(100% - 300px);
    display: flex;
}

.test-tit select {
    height: 30px;
    width: 60px;
    margin-right: 10px;
}

.test-tit .test-btn>* {
    flex: 1;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-top: 5px;
    margin-left: 10px;
    border-radius: 2px;
    background-color: #eee;
    cursor: pointer;
    box-shadow: 1px 1px 2px #666;
    overflow: hidden;
    font-size: 14px;
}

.test-tit .test-btn>*:hover {
    background-color: rgb(166, 228, 163);
    box-shadow: 1px 1px 1px #999;
}

fieldset {
    position: relative;
}

#testarea {
    width: calc(100% - 0px);
    display: table;
    word-wrap: break-word;
    word-break: break-all;
    padding: 10px 30px 10px 0px;
    margin: 0px;
}

#testarea pre {
    margin: 0px 0px 10px 0px;
    width: calc(100% - 40px);
    font-size: 14px;
    line-height: 20px;
    padding: 20px;
    background-color: rgb(240, 243, 215);
    word-wrap: break-word;
    word-break: break-all;
    border: 1px solid #ccc;
    position: relative;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

#testarea fieldset {
    margin: 0px;
    padding: 0px;
    margin-bottom: 20px;
    width: 100%;
}

#testresult:before {
    content: "测试查询的返回结果：";
    display: block;
    position: absolute;
    top: 0px;
    left: 10px;
    color: #666;
    font-size: 12px;
}

footer {
    height: 30px;
    line-height: 30px;
    text-indent: 10px;
    font-size: 12px;
    background: #ccc;
    position: absolute;
    bottom: 0px;
    width: 100%;
}